<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="renderer" content="webkit" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
    />
    <link rel="icon" href="/logo.jpg" />
    <title><%= title %></title>
    <!--[if lt IE 11
      ]><script>
        window.location.href = "/html/ie.html";
      </script><!
    [endif]-->
    <style>
      html,
      body,
      #app {
        height: 100%;
        margin: 0px;
        padding: 0px;
      }

      .chromeframe {
        margin: 0.2em 0;
        background: #ccc;
        color: #000;
        padding: 0.2em 0;
      }

      .no-js .loadingSeven {
        display: none;
      }

      .no-js h1 {
        color: #222222;
      }

      .loadingSeven {
        background: #357da9;
        background-image: url("/loading-bg.png");
        background-size: 100% 100%;
        background-position: 0 0;
        background-repeat: no-repeat;
        color: white;
        width: 100%;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
      }

      .loadingSeven span {
        display: inline-block;
        width: 8px;
        height: 100%;
        border-radius: 4px;
        background: white;
        -webkit-animation: loadsaven 1.04s ease infinite;
      }

      @-webkit-keyframes loadsaven {
        0%,
        100% {
          height: 10px;
          background: white;
        }
        50% {
          height: 30px;
          margin-top: -20px;
          background: white;
        }
      }

      .loadingSeven span:nth-child(2) {
        -webkit-animation-delay: 0.13s;
      }

      .loadingSeven span:nth-child(3) {
        -webkit-animation-delay: 0.26s;
      }

      .loadingSeven span:nth-child(4) {
        -webkit-animation-delay: 0.39s;
      }

      .loadingSeven span:nth-child(5) {
        -webkit-animation-delay: 0.52s;
      }
    </style>
  </head>

  <body>
    <div id="app">
      <div id="loading" class="loadingSeven">
        <div style="text-align: center">
          <div>
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            <span></span>
          </div>
          <div style="font-size: 12px; margin-top: 5px">
            <div style="font-size: 14px">正在加载系统资源，请耐心等待</div>
            <div style="font-size: 12px; opacity: 0.3">
              Version <%= version %>
            </div>
          </div>
        </div>
      </div>
      <!-- 
      <div id="loader-wrapper">
        <div id="loader"></div>
        <div class="loader-section section-left"></div>
        <div class="loader-section section-right"></div>
        <div class="load_title">正在加载系统资源，请耐心等待</div>
      </div>
       -->
    </div>
    <script type="module" src="/src/main.js"></script>
  </body>
</html>
